package com.briup.oagg.model.bean.basic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 模型信息
 * </p>
 *
 * @author briup
 * @since 2023-03-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("oagg_model_info")
public class ModelInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 模型编号;
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String modelId;

    /**
     * 模型名称;
     */
    private String modelName;

    /**
     * 模型类型：classification 分类 clustering 聚类 regression 回归
     */
    private String modelType;

    /**
     * 数据集编号;
     */
    private String datasetId;
    /**
     * 创建人编号;
     */
    private String createUser;

    /**
     * 创建时间;
     */
    private LocalDateTime createTime;

    @JsonIgnore                 //前端不显示是否删除字段
    @TableField(select = false) //不作为select查询字段
    private Integer deleted;
}
